import React from 'react';
import './App.css';
import 'antd/dist/antd.css';
import { BrowserRouter as Router } from "react-router-dom";
import { routerConfig } from "./layout/router.config";
import { renderRoutes } from "./layout/router-uitl";

export default function App() {
  return (
    <Router>
      { renderRoutes(routerConfig)}
    </Router>
  );
}
